package com.ruoyi.mapper;

import com.ruoyi.vo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from merchant_user where username=#{username}")
    User user(User user);

    @Select("select * from merchant_user  where  mobile=#{mobile}")
    User loginMobile(User user);
}
